Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement filtering the TravisCI build matrix on many more properties #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Quuxplusone
Copy link

Warning: I'm no node.js expert and this code might not even work. Someone should test it before merging it. :)
It might also be a good idea to factor out the repeated list of "filterable properties" into a single global variable somewhere, and then loop over the list in the two places I'm using it, instead of what I did here.

Fixes #18.

@ghost
Copy link

ghost commented Jun 24, 2019

Any updates on this PR?

@@ -86,15 +86,41 @@ export default class TravisClient {
})
}

matchesStringFilter (actual, expected) {
return !expected || (actual == expected)
Copy link

@ghost ghost Jul 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why use ‘!expect’ here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Example of filtering on environment variable?
1 participant